package cn.xinfei.xdecision.common.model.enginex.po;

import cn.xinfei.xdecision.common.model.BaseDO;
import cn.xinfei.xdecision.common.utils.enums.enginex.action.ActionPostTypeEnum;
import cn.xinfei.xdecision.common.utils.enums.enginex.action.ActionServerEnum;
import cn.xinfei.xdecision.common.utils.enums.enginex.action.OldModelActionEnum;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@EqualsAndHashCode(callSuper = true)
@TableName("t_engine_action")
@Data
@Accessors(chain = true)
public class EngineAction extends BaseDO {

    /**
     * 版本id
     */
    private Long versionId;

    /**
     * 节点code
     */
    private String nodeCode;

    /**
     * 节点名称
     */
    private String nodeName;

    /**
     * 动作服务
     *
     * @see ActionServerEnum
     */
    private Integer actionServer;

    /**
     * 动作场景
     *
     * @see OldModelActionEnum (部分)
     */
    private String actionInterface;

    /**
     * 动作请求方式
     *
     * @see ActionPostTypeEnum
     */
    private Integer postType;
}

